package org.springblade.modules.repair.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.modules.repair.mapper.ElevatorPlanStrategyMapper;
import org.springblade.modules.repair.entity.ElevatorPlanStrategy;
import org.springblade.modules.repair.service.ElevatorPlanStrategyService;
@Service
public class ElevatorPlanStrategyServiceImpl extends BaseServiceImpl<ElevatorPlanStrategyMapper, ElevatorPlanStrategy> implements ElevatorPlanStrategyService{

	@Override
	public ElevatorPlanStrategy getByElevatorId(Long elevatorId) {
		ElevatorPlanStrategy planStrategy = this.getOne(Wrappers.<ElevatorPlanStrategy>lambdaQuery().eq(ElevatorPlanStrategy :: getElevatorId, elevatorId), false);
		return planStrategy;
	}
}
